<?php
	date_default_timezone_set('America/Argentina/Buenos_Aires');

	define("APP_ID", "1479979205598218");
	define("SECRET", "db91e0552a3b57e1281ed821e76cc96c");
	define("APP_CANVAS", "https://apps.facebook.com/solo-dilo/");
	define("SERVER_WEB", "https://solo-dilo.com/");
	
	define("INDEX", "index.php");
	define("CATEGORIES_URL", "categories.php");
	define("CONTENTS_URL", "index.php");
	define("UPLOAD_CONTENT", "uploadContent.php");
	define("UPLOAD_CATEGORY", "uploadCategory.php");
	define("PUBLISH_CONTENT", "publishedContent.php");
	define("PUBLISH_CATEGORY", "publishedCategory.php");
	define("PRIVACY_POLICY", "privacy_policy.php");
	define("SUPPORT_MAIL", "support@solo-dilo.com");
	DEFINE("IMAGES_PATH", "contentImages/");

	define("LIKE_ORIGIN", "like_origin");
	define("SHARE_ORIGIN", "share_origin");
	
	define("HTML_TITLE", "Solo Dilo");
	define("SITE_NAME", "solo-dilo");
	define("DEFAULT_SITE_DESCRIPTION", "No vas a creer lo que vas a leer!");
	define("REVISION", "40");		
	define("INITIAL_LOAD_AMOUNT", "15");
	define("LOAD_AMOUNT", "15");
	define("POINTS_DECIMALS", 0);
	define("PERCENTAGE_DECIMALS", 2);	// Before *100
	define("CONTENT_MAX_HEIGTH_DOWNOPTIONS", 60);
	define("CONTENT_MAX_HEIGTH", 160);
	define("CONTENT_DEFAULT_FONT_SIZE", 17);
	define("CONTENT_MIN_FONT_SIZE", 14);

	define("CONTENT_MAX_EDIT_TIME", 3600);
	define("CONTENT_MAX_REMOVE_TIME", 3600);
	define("CATEGORY_MAX_EDIT_TIME", 3600);
	define("CATEGORY_MAX_REMOVE_TIME", 3600);
	define("SERVER_SIDE_EXTRA_WAIT_TIME", 600);

	// Content points
	define("QUANTILE", 1);
	define("MIN_POINTS_TO_BESTS", 40);
	define("MAX_POINTS", 100);

	// Best content criterio
	define("POINTS_BEST_CONTENT_NEEDED", 0);
	define("QUALIFICATIONS_BEST_CONTENT_NEEDED", 1);

	// Remove content criterio
	define("LIKES_FRACTION_REMOVE_CONTENT_NEEDED", 0.1);
	define("QUALIFICATIONS_REMOVE_CONTENT_NEEDED", 25);

	// Category score
	define("CATEGORY_START_DATE", "2014-09-24 00:00:00");
	define("CATEGORY_DATE_RELEVANCE", "8400");	// Higher value, lower relevance
?>
